$("page_nav_attachments").update("<%= escape_javascript(render('attachment_list')) %>");
<% unless request.method == "GET" %>
  $("page_alert").update("<%= escape_javascript(page_alert) %>");
<% end %>
